package com.yhsoft.flim.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yhsoft.flim.controller.response.CinemaOutVo;
import com.yhsoft.flim.entity.Cinema;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 电影院信息 Mapper 接口
 * </p>
 *
 * @author yyyyyyyh
 * @since 2023-12-05
 */
public interface CinemaMapper extends BaseMapper<Cinema> {

    IPage<CinemaOutVo> selectCinema(IPage<CinemaOutVo> page, @Param("ew") Wrapper wrapper);

    IPage<CinemaOutVo> selectCinemaPage(IPage<CinemaOutVo> page, @Param("ew") Wrapper wrapper,  @Param("longitude") double longitude,  @Param("latitude") double latitude);
}
